package com.lagou.edu;

import com.alibaba.fastjson.JSON;
import org.aspectj.weaver.ast.Var;

import java.util.Map;

public class Test {
    public static void main(String[] args) {

/*
        String s1 = init("27000/27036", "tcp");
        String s2 = init("27000/27036", "udp");
        String s3 = init("4379/4380", "udp");
        String s4 = init("3478", "udp");
*/

        NPSModel npsModel = new NPSModel();
        npsModel.setId(10);
        NPSModel tcp = npsModel.addConfig("27000/27036", "tcp").addConfig("27000/27036", "udp")
                .addConfig("4379/4380", "udp").addConfig("3478", "udp");
        System.out.println(tcp);
    }



}
